<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Embroidermodder: LayerManager Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
  extensions: ["tex2jax.js", "TeX/AMSmath.js"],
  jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="logo_embroidermodder_2_0.png"/></td>
  <td id="projectalign">
   <div id="projectname">Embroidermodder<span id="projectnumber">&#160;2.0.0-alpha4</span>
   </div>
   <div id="projectbrief">A free and open source software for machine embroidery</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('classLayerManager.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classLayerManager-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">LayerManager Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p> 
 <a href="classLayerManager.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="embroidermodder_8h_source.html">embroidermodder.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a3c92074a5b6f9636142bcfbe8c7cb0a2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLayerManager.html#a3c92074a5b6f9636142bcfbe8c7cb0a2">LayerManager</a> (QWidget *parent=0)</td></tr>
<tr class="memdesc:a3c92074a5b6f9636142bcfbe8c7cb0a2"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classLayerManager.html#a3c92074a5b6f9636142bcfbe8c7cb0a2" title="LayerManager::LayerManager mw parent.">LayerManager::LayerManager</a> <em>mw</em> <em>parent</em>.  <a href="classLayerManager.html#a3c92074a5b6f9636142bcfbe8c7cb0a2">More...</a><br /></td></tr>
<tr class="separator:a3c92074a5b6f9636142bcfbe8c7cb0a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a226d5772ed04dd312531850e7363b2eb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLayerManager.html#a226d5772ed04dd312531850e7363b2eb">~LayerManager</a> ()</td></tr>
<tr class="memdesc:a226d5772ed04dd312531850e7363b2eb"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classLayerManager.html#a226d5772ed04dd312531850e7363b2eb" title="LayerManager::~LayerManager.">LayerManager::~LayerManager</a>.  <a href="classLayerManager.html#a226d5772ed04dd312531850e7363b2eb">More...</a><br /></td></tr>
<tr class="separator:a226d5772ed04dd312531850e7363b2eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a233eb915903a5c41ff72725583a6546c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLayerManager.html#a233eb915903a5c41ff72725583a6546c">addLayer</a> (QString name, const bool visible, const bool frozen, const <a class="el" href="embroidery_8h.html#a2082be9aabfb541dff1825c4ca6a05cd">EmbReal</a> zValue, const QRgb color, QString lineType, QString lineWeight, const bool print)</td></tr>
<tr class="memdesc:a233eb915903a5c41ff72725583a6546c"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classLayerManager.html#a233eb915903a5c41ff72725583a6546c" title="LayerManager::addLayer.">LayerManager::addLayer</a>.  <a href="classLayerManager.html#a233eb915903a5c41ff72725583a6546c">More...</a><br /></td></tr>
<tr class="separator:a233eb915903a5c41ff72725583a6546c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ad3c739e7e5d6e58fdfddea1c30c89588"><td class="memItemLeft" align="right" valign="top">QStandardItemModel *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLayerManager.html#ad3c739e7e5d6e58fdfddea1c30c89588">layerModel</a></td></tr>
<tr class="separator:ad3c739e7e5d6e58fdfddea1c30c89588"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fbc6b8e6f990cc0a331cf2bd9876c68"><td class="memItemLeft" align="right" valign="top">QSortFilterProxyModel *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLayerManager.html#a9fbc6b8e6f990cc0a331cf2bd9876c68">layerModelSorted</a></td></tr>
<tr class="separator:a9fbc6b8e6f990cc0a331cf2bd9876c68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94a0f691d480125423491903fa041750"><td class="memItemLeft" align="right" valign="top">QTreeView *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLayerManager.html#a94a0f691d480125423491903fa041750">treeView</a></td></tr>
<tr class="separator:a94a0f691d480125423491903fa041750"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"></div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a3c92074a5b6f9636142bcfbe8c7cb0a2" name="a3c92074a5b6f9636142bcfbe8c7cb0a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c92074a5b6f9636142bcfbe8c7cb0a2">&#9670;&nbsp;</a></span>LayerManager()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classLayerManager.html">LayerManager</a> </td>
          <td>(</td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="classLayerManager.html#a3c92074a5b6f9636142bcfbe8c7cb0a2" title="LayerManager::LayerManager mw parent.">LayerManager::LayerManager</a> <em>mw</em> <em>parent</em>. </p>

</div>
</div>
<a id="a226d5772ed04dd312531850e7363b2eb" name="a226d5772ed04dd312531850e7363b2eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a226d5772ed04dd312531850e7363b2eb">&#9670;&nbsp;</a></span>~LayerManager()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">~<a class="el" href="classLayerManager.html">LayerManager</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="classLayerManager.html#a226d5772ed04dd312531850e7363b2eb" title="LayerManager::~LayerManager.">LayerManager::~LayerManager</a>. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a233eb915903a5c41ff72725583a6546c" name="a233eb915903a5c41ff72725583a6546c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a233eb915903a5c41ff72725583a6546c">&#9670;&nbsp;</a></span>addLayer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void addLayer </td>
          <td>(</td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>visible</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>frozen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="embroidery_8h.html#a2082be9aabfb541dff1825c4ca6a05cd">EmbReal</a>&#160;</td>
          <td class="paramname"><em>zValue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRgb&#160;</td>
          <td class="paramname"><em>color</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname"><em>lineType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname"><em>lineWeight</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>print</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="classLayerManager.html#a233eb915903a5c41ff72725583a6546c" title="LayerManager::addLayer.">LayerManager::addLayer</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td></td></tr>
    <tr><td class="paramname">visible</td><td></td></tr>
    <tr><td class="paramname">frozen</td><td></td></tr>
    <tr><td class="paramname">zValue</td><td></td></tr>
    <tr><td class="paramname">color</td><td></td></tr>
    <tr><td class="paramname">lineType</td><td></td></tr>
    <tr><td class="paramname">lineWeight</td><td></td></tr>
    <tr><td class="paramname">print</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ad3c739e7e5d6e58fdfddea1c30c89588" name="ad3c739e7e5d6e58fdfddea1c30c89588"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3c739e7e5d6e58fdfddea1c30c89588">&#9670;&nbsp;</a></span>layerModel</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QStandardItemModel* layerModel</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a9fbc6b8e6f990cc0a331cf2bd9876c68" name="a9fbc6b8e6f990cc0a331cf2bd9876c68"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9fbc6b8e6f990cc0a331cf2bd9876c68">&#9670;&nbsp;</a></span>layerModelSorted</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QSortFilterProxyModel* layerModelSorted</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a94a0f691d480125423491903fa041750" name="a94a0f691d480125423491903fa041750"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94a0f691d480125423491903fa041750">&#9670;&nbsp;</a></span>treeView</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QTreeView* treeView</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/<a class="el" href="embroidermodder_8h_source.html">embroidermodder.h</a></li>
<li>src/<a class="el" href="layer-manager_8cpp.html">layer-manager.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classLayerManager.html">LayerManager</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4 </li>
  </ul>
</div>
</body>
</html>
